﻿package kabam.rotmg.ui.view {
import com.company.assembleegameclient.ui.dialogs.Dialog;

import kabam.rotmg.text.model.TextKey;

import org.osflash.signals.Signal;
import org.osflash.signals.natives.NativeMappedSignal;

public class NotEnoughGoldDialog extends Dialog {

    private static const TRACKING_TAG:String = "/notEnoughGold";

    public var cancel:Signal;
    public var buyGold:Signal;

    public function NotEnoughGoldDialog() {
        super(TextKey.NOT_ENOUGH_GOLD, TextKey.GOLD_NOTENOUGHFORITEM, TextKey.FRAME_CANCEL, TextKey.BUY_GOLD, TRACKING_TAG);
        this.cancel = new NativeMappedSignal(this, LEFT_BUTTON);
        this.buyGold = new NativeMappedSignal(this, RIGHT_BUTTON);
    }

}
}
